import { Layout } from "antd";
import { Outlet } from "react-router-dom";
import Aside from "../../components/aside";
import "./index.scss";

const { Header, Sider, Content } = Layout;

const Home = () => {
  return (
    <div className="home">
      <Layout>
        <Header>
          <h2>智能仓储管理系统</h2>
        </Header>
        <Layout>
          <Sider>
            <Aside />
          </Sider>
          <Content>
            <Outlet />
          </Content>
        </Layout>
      </Layout>
    </div>
  );
};
export default Home;
